package com.redhat.auth.log.common;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.redhat.auth.log.annotation.AuthorType;

public class LogDescriptionBean {
	
	@Deprecated
	/**
	 * 用户自定义存储实体，扩展功能，暂不实现此功能
	 */
	private Class[] handlerClass;
	
	/**
	 * 业务上的失败，而不是程序失败异常的定义
	 * 在定义异常范围内，认为是业务上的问题
	 */
	private Class[] failureException;
	
	/**
	 * 定义当前业务名称
	 * @return
	 */
	public String bizDescription;
	
	
	/**
	 * 定义当前业务操作类型
	 * @return
	 */
	public String bizOperationType;


	/**
	 * 定义当前操作对象
	 */
	private AuthorType authorType;

	/**
	 * 如果指定了操作对象，则使用指定对象
	 */
	private String specialAuthor;
	/**
	 * 值改变对象
	 */
	private HashMap<Class,ValueBean> values;

	
	private List<RecordValueBean> recordValues;
	

	public Class[] getHandlerClass() {
		return handlerClass;
	}

	public void setHandlerClass(Class[] handlerClass) {
		this.handlerClass = handlerClass;
	}

	public Class[] getFailureException() {
		return failureException;
	}

	public void setFailureException(Class[] failureException) {
		this.failureException = failureException;
	}

	public String getBizDescription() {
		return bizDescription;
	}

	public void setBizDescription(String bizDescription) {
		this.bizDescription = bizDescription;
	}

	public String getBizOperationType() {
		return bizOperationType;
	}

	public void setBizOperationType(String bizOperationType) {
		this.bizOperationType = bizOperationType;
	}

	public AuthorType getAuthorType() {
		return authorType;
	}

	public void setAuthorType(AuthorType authorType) {
		this.authorType = authorType;
	}

	public HashMap<Class, ValueBean> getValues() {
		return values;
	}

	public void setValues(HashMap<Class, ValueBean> values) {
		this.values = values;
	}

	public String getSpecialAuthor() {
		return specialAuthor;
	}

	public void setSpecialAuthor(String specialAuthor) {
		this.specialAuthor = specialAuthor;
	}

	public List<RecordValueBean> getRecordValues() {
		return recordValues;
	}

	public void setRecordValues(List<RecordValueBean> recordValues) {
		this.recordValues = recordValues;
	}
	
}
